package com.jc.business.supplier;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jc.business.base.BaseBusiness;
import com.jc.ds.model.Supplier;
import com.jc.service.supplier.SupplierService;

/***
 *    供应商业务处理类
 * @author zyf
 *
 */
@Service
public class SupplierBusiness extends BaseBusiness{
	
	@Autowired
	SupplierService  supplierService;
	
	
	@Transactional
	public int add(Supplier bean, boolean isSaveNull) {
		return supplierService.add(bean, isSaveNull);
	}
	

}
